<!DOCTYPE html>
<!-- saved from url=(0031) -->
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Mock.js</title>

    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- <link rel="icon" type="image/png" href="http://mockjs.com/assets/img/logo-2.svg"> -->
    <!-- <script src="./Mock.js_files/require-config-css-animation.js"></script> -->
    <script src="./Mock.js_files/require.js"></script>
    <script>
        require.config({
            paths: {
                mock: 'dist/mock'
            }
        })
        require(['mock'], function (Mock) {
            window.Mock = Mock
            window.Random = Mock.Random
        })
    </script>
    <link href="./Mock.js_files/index.css" rel="stylesheet">
    <!-- https://www.uservoice.com/ -->
    <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_"
        data-requiremodule="./Mock.js_files/require-css.js"
        src="./Mock.js_files/css.js"></script>
    <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="mock"
        src="./Mock.js_files/mock.js"></script>
    <link type="text/css" rel="stylesheet" href="./Mock.js_files/bootstrap.min.css">
    <link type="text/css" rel="stylesheet" href="./Mock.js_files/components.css">
    <link type="text/css" rel="stylesheet" href="./Mock.js_files/parsley.css">
    <link type="text/css" rel="stylesheet" href="./Mock.js_files/minecraft.css">
    <link type="text/css" rel="stylesheet" href="./Mock.js_files/animate-min.css">
    <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_"
        data-requiremodule="assets/js/examples" src="./Mock.js_files/examples.js"></script>
    <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="jquery"
        src="./Mock.js_files/jquery.js"></script>
    <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="underscore"
        src="./Mock.js_files/underscore.js"></script>
    <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="vue"
        src="./Mock.js_files/vue.js"></script>
    <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="smooth-scroll"
        src="./Mock.js_files/smooth-scroll.js"></script>
    <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_"
        data-requiremodule="assets/js/test.template" src="./Mock.js_files/test.template.js"></script>
    <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_"
        data-requiremodule="assets/js/test.dtd.data" src="./Mock.js_files/test.dtd.data.js"></script>
    <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_"
        data-requiremodule="assets/js/test.dpd.data" src="./Mock.js_files/test.dpd.data.js"></script>
    <script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="highlightjs"
        src="./Mock.js_files/highlight.pack.js"></script>
    <style>
        html,
        body,
        .row {
            height: 100%;
        }

        .container {
            height: 90%;
        }

        .data {
            height: 100%;
            overflow-y: auto;
            overflow-x: hidden;
        }
    </style>
</head>

<body data-version="3.3.0" data-settings-changed-at="0" data-cid="1654508529650">
    <div class="examples-nav">
        <div class="container">
            <a href="http://mockjs.com/">首页
                <!-- Home -->
            </a>
            <a href="https://github.com/nuysoft/Mock/wiki" target="_blank">文档
                <!-- Docs -->
            </a>
            <a href="">示例
                <!-- Examples -->
            </a>
            <a href="https://github.com/nuysoft/Mock/tree/refactoring" target="_blank">代码
                <!-- Code -->
            </a>
        </div>
    </div>
    <script id="template" type="x-template">
        <div class="row">
            <div class="col-sm-2">
                <div class="mb10">
                    <a href="#DPD" class="fontsize-16" data-scroll>数据模板定义<!-- Data Template Definition, DTD --></a>
                </div>
                <ul class="catalog">
                    <li v-for="(type, item) in DTD">
                        <div><a href="#{{ type }}" data-scroll>{{ type }}</a></div>
                    </li>
                </ul>
                <div class="mb10">
                    <a href="#DPD" class="fontsize-16" data-scroll>数据占位符定义 <!-- Data Placeholder Definition, DPD --></a>
                </div>
                <ul class="catalog">
                    <li v-for="(type, methods) in DPD">
                        <div class="mb10">
                            <a href="#{{ type }}">{{ type }}</a>
                        </div>
                        <div v-for="(method, demos) in methods">
                            <a href="#{{ method }}" data-scroll> {{ method.slice(7).split('(')[0] }} </a>
                        </div>
                    </li>
                </ul>
            </div>
            <div class="col-sm-10">
                <blockquote>
                    <p>
                        <span class="specfont" style="font-size: 20px; margin-right: 10px; color: #999;">&#xe613;</span>
                        <span class="color-9">你可以打开控制台，随意地试验这些方法。</span>
                    </p>
                </blockquote>

                <div id="DTD" class="fontsize-20 mb40">数据模板定义 <!-- Data Template Definition, DTD --></div>
                <div class="definition">
                    <div v-for="(type, signatures) in DTD" class="mb40">
                        <div id="{{ type }}" class="fontsize-16 mb40">{{ type }}</div>
                        <div v-for="(signature, demos) in signatures" class="mb20">
                            <div id=""{{ signature }}"" class="fontsize-14 mb20"><code>{{ signature }}</code></div>
                            <div v-for="(index, demo) in demos" class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({{ demo | json }})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{{ demo | mock | json }}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun" v-on:click="rerun($event, 'dtd', demo)"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div id="DPD" class="fontsize-20 mb40">数据占位符定义 <!-- Data Placeholder Definition, DPD --></div>
                <div class="definition">
                    <div v-for="(type, signatures) in DPD" class="mb20">
                        <div id="{{ type }}" class="fontsize-16 mb20">{{ type }}</div>
                        <div v-for="(signature, demos) in signatures" class="mb20">
                            <div id="{{ signature }}" class="fontsize-14 mb20"><code>{{ signature }}</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">{{ demos.join('\n') }}</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div v-if="signature === 'Random.dataImage( size?, text? )' || 
                                                signature === 'Random.image( size?, background?, foreground?, format?, text? )'">
                                            {{{ demos | examples.dpd.img }}}
                                        </div>
                                        <div v-else>
                                            <pre><code class="javascript">{{ demos | examples.dpd }}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun" v-on:click="rerun($event, 'dpd', demos)"></a>
                                        </div>
                                        <a href="javascript:;" class="mockicon rerun" v-on:click="rerun($event, 'dpd', demos)"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </script>
    <div id="examples" class="container definition">
        <div class="row">
            <div class="col-sm-2 data">
                <div class="mb10">
                    <a href="#DPD" class="fontsize-16" data-scroll="">数据模板定义
                        <!-- Data Template Definition, DTD -->
                    </a>
                </div>
                <ul class="catalog">
                    <li>
                        <div><a data-scroll="" href="#String">String</a></div>
                    </li>
                    <li>
                        <div><a data-scroll="" href="#Number">Number</a></div>
                    </li>
                    <li>
                        <div><a data-scroll="" href="#Boolean">Boolean</a></div>
                    </li>
                    <li>
                        <div><a data-scroll="" href="#Object">Object</a></div>
                    </li>
                    <li>
                        <div><a data-scroll="" href="#Array">Array</a></div>
                    </li>
                    <li>
                        <div><a data-scroll="" href="#Function">Function</a></div>
                    </li>
                    <li>
                        <div><a data-scroll="" href="#RegExp">RegExp</a></div>
                    </li>
                    <li>
                        <div><a data-scroll="" href="#Path">Path</a></div>
                    </li>
                </ul>
                <div class="mb10">
                    <a href="#DPD" class="fontsize-16" data-scroll="">数据占位符定义
                        <!-- Data Placeholder Definition, DPD -->
                    </a>
                </div>
                <ul class="catalog">
                    <li>
                        <div class="mb10">
                            <a href="#Basic">Basic</a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.boolean(%20min?,%20max?,%20current?%20)">
                                boolean </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.natural(%20min?,%20max?%20)">
                                natural </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.integer(%20min?,%20max?%20)">
                                integer </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.float(%20min?,%20max?,%20dmin?,%20dmax?%20)">
                                float </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.character(%20pool?%20)">
                                character </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.string(%20pool?,%20min?,%20max?%20)">
                                string </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.range(start?,%20stop,%20step?)"> range </a>
                        </div>
                    </li>
                    <li>
                        <div class="mb10">
                            <a href="#Date">Date</a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.date(%20format?%20)"> date
                            </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.time(%20format?%20)"> time
                            </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.datetime(%20format?%20)">
                                datetime </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.now(%20unit?,%20format?%20)">
                                now </a>
                        </div>
                    </li>
                    <li>
                        <div class="mb10">
                            <a href="#Image">Image</a>
                        </div>
                        <div>
                            <a data-scroll=""
                                href="#Random.image(%20size?,%20background?,%20foreground?,%20format?,%20text?%20)">
                                image </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.dataImage(%20size?,%20text?%20)"> dataImage
                            </a>
                        </div>
                    </li>
                    <li>
                        <div class="mb10">
                            <a href="#Color">Color</a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.color()"> color </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.hex()"> hex </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.rgb()"> rgb </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.rgba()"> rgba </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.hsl()"> hsl </a>
                        </div>
                    </li>
                    <li>
                        <div class="mb10">
                            <a href="#Text">Text</a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.paragraph(%20min?,%20max?%20)"> paragraph
                            </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.sentence(%20min?,%20max?%20)"> sentence
                            </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.word(%20min?,%20max?%20)">
                                word </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.title(%20min?,%20max?%20)">
                                title </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.cparagraph(%20min?,%20max?%20)"> cparagraph
                            </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.csentence(%20min?,%20max?%20)"> csentence
                            </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.cword(%20pool?,%20min?,%20max?%20)"> cword
                            </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.ctitle(%20min?,%20max?%20)">
                                ctitle </a>
                        </div>
                    </li>
                    <li>
                        <div class="mb10">
                            <a href="#Name">Name</a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.first()"> first </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.last()"> last </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.name(%20middle?%20)"> name
                            </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.cfirst()"> cfirst </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.clast()"> clast </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.cname()"> cname </a>
                        </div>
                    </li>
                    <li>
                        <div class="mb10">
                            <a href="#Web">Web</a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.url()"> url </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.domain()"> domain </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.protocol()"> protocol </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.tld()"> tld </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.email()"> email </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.ip()"> ip </a>
                        </div>
                    </li>
                    <li>
                        <div class="mb10">
                            <a href="#Address">Address</a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.region()"> region </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.province()"> province </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.city(%20prefix?%20)"> city
                            </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.county(%20prefix?%20)">
                                county </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.zip()"> zip </a>
                        </div>
                    </li>
                    <li>
                        <div class="mb10">
                            <a href="#Helper">Helper</a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.capitalize(%20word%20)">
                                capitalize </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.upper(%20str%20)"> upper </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.lower(%20str%20)"> lower </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.pick(%20arr%20)"> pick </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.shuffle(%20arr%20)"> shuffle
                            </a>
                        </div>
                    </li>
                    <li>
                        <div class="mb10">
                            <a href="#Miscellaneous">Miscellaneous</a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.guid()"> guid </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.id()"> id </a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.increment(%20step?%20)">
                                increment </a>
                        </div>
                    </li>
                </ul>
            </div>
            <div class="col-sm-10 data">
                <blockquote>
                    <p>
                        <span class="specfont" style="font-size: 20px; margin-right: 10px; color: #999;"></span>
                        <span class="color-9">你可以打开控制台，随意地试验这些方法。</span>
                    </p>
                </blockquote>

                <div id="DTD" class="fontsize-20 mb40">数据模板定义
                    <!-- Data Template Definition, DTD -->
                </div>
                <div class="definition">
                    <div class="mb40">
                        <div class="fontsize-16 mb40" id="String">String</div>
                        <div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20">
                                <code>'name|min-max': string</code>
                            </div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "string|1-10": "★"
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "string": "★★★★★★★★★★"
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20">
                                <code>'name|count': string</code>
                            </div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "string|3": "★★★"
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "string": "★★★★★★★★★"
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="mb40">
                        <div class="fontsize-16 mb40" id="Number">Number</div>
                        <div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20">
                                <code>'name|+1': number</code>
                            </div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "number|+1": 202
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "number": 201
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20">
                                <code>'name|min-max': number</code>
                            </div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "number|1-100": 100
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "number": 80
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20">
                                <code>'name|min-max.dmin-dmax': number</code>
                            </div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "number|1-100.1-10": 1
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "number": 62.2367
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "number|123.1-10": 1
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "number": 123.18775869
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "number|123.3": 1
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "number": 123.986
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "number|123.10": 1.123
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "number": 123.1236677546
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="mb40">
                        <div class="fontsize-16 mb40" id="Boolean">Boolean</div>
                        <div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20">
                                <code>'name|1': boolean</code>
                            </div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "boolean|1": true
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "boolean": false
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20">
                                <code>'name|min-max': boolean</code>
                            </div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "boolean|1-2": true
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "boolean": false
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="mb40">
                        <div class="fontsize-16 mb40" id="Object">Object</div>
                        <div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20">
                                <code>'name|count': object</code>
                            </div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "object|2": {
    "310000": "上海市",
    "320000": "江苏省",
    "330000": "浙江省",
    "340000": "安徽省"
  }
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "object": {
    "320000": "江苏省",
    "330000": "浙江省"
  }
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20">
                                <code>'name|min-max': object</code>
                            </div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "object|2-4": {
    "110000": "北京市",
    "120000": "天津市",
    "130000": "河北省",
    "140000": "山西省"
  }
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "object": {
    "110000": "北京市",
    "140000": "山西省"
  }
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="mb40">
                        <div class="fontsize-16 mb40" id="Array">Array</div>
                        <div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20"><code>'name|1': array</code>
                            </div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "array|1": [
    "AMD",
    "CMD",
    "UMD"
  ]
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "array": "AMD"
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20"><code>'name|+1': array</code>
                            </div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "array|+1": [
    "AMD",
    "CMD",
    "UMD"
  ]
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "array": "AMD"
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "array|1-10": [
    {
      "name|+1": [
        "Hello",
        "Mock.js",
        "!"
      ]
    }
  ]
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "array": [
    {
      "name": "Hello"
    },
    {
      "name": "Mock.js"
    },
    {
      "name": "!"
    },
    {
      "name": "Hello"
    },
    {
      "name": "Mock.js"
    },
    {
      "name": "!"
    },
    {
      "name": "Hello"
    },
    {
      "name": "Mock.js"
    }
  ]
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20">
                                <code>'name|min-max': array</code>
                            </div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "array|1-10": [
    "Mock.js"
  ]
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "array": [
    "Mock.js",
    "Mock.js",
    "Mock.js",
    "Mock.js",
    "Mock.js",
    "Mock.js",
    "Mock.js",
    "Mock.js",
    "Mock.js"
  ]
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "array|1-10": [
    "Hello",
    "Mock.js",
    "!"
  ]
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "array": [
    "Hello",
    "Mock.js",
    "!",
    "Hello",
    "Mock.js",
    "!"
  ]
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20">
                                <code>'name|count': array</code>
                            </div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "array|3": [
    "Mock.js"
  ]
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "array": [
    "Mock.js",
    "Mock.js",
    "Mock.js"
  ]
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "array|3": [
    "Hello",
    "Mock.js",
    "!"
  ]
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "array": [
    "Hello",
    "Mock.js",
    "!",
    "Hello",
    "Mock.js",
    "!",
    "Hello",
    "Mock.js",
    "!"
  ]
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="mb40">
                        <div class="fontsize-16 mb40" id="Function">Function</div>
                        <div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20"><code>'name': function</code>
                            </div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  'foo': 'Syntax Demo',
  'name': function() {
    return this.foo
  }
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "foo": "Syntax Demo",
  "name": "Syntax Demo"
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="mb40">
                        <div class="fontsize-16 mb40" id="RegExp">RegExp</div>
                        <div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20"><code>'name': regexp</code>
                            </div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  'regexp': /[a-z][A-Z][0-9]/
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "regexp": "gJ4"
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  'regexp': /\w\W\s\S\d\D/
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "regexp": "2\\G8o"
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  'regexp': /\d{5,10}/
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "regexp": "648427495"
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  'regexp|3': /\d{5,10}\-/
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "regexp": "533711-6430165257-75820121-"
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  'regexp|1-5': /\d{5,10}\-/
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "regexp": "261813128-7675417522-38922-857010177-"
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="mb40">
                        <div class="fontsize-16 mb40" id="Path">Path</div>
                        <div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20"><code>Absolute Path</code>
                            </div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "foo": "Hello",
  "nested": {
    "a": {
      "b": {
        "c": "Mock.js"
      }
    }
  },
  "absolutePath": "@/foo @/nested/a/b/c"
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "foo": "Hello",
  "nested": {
    "a": {
      "b": {
        "c": "Mock.js"
      }
    }
  },
  "absolutePath": "Hello Mock.js"
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20"><code>Relative Path</code>
                            </div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "foo": "Hello",
  "nested": {
    "a": {
      "b": {
        "c": "Mock.js"
      }
    }
  },
  "relativePath": {
    "a": {
      "b": {
        "c": "@../../../foo @../../../nested/a/b/c"
      }
    }
  }
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "foo": "Hello",
  "nested": {
    "a": {
      "b": {
        "c": "Mock.js"
      }
    }
  },
  "relativePath": {
    "a": {
      "b": {
        "c": "Hello Mock.js"
      }
    }
  }
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div id="DPD" class="fontsize-20 mb40">数据占位符定义
                    <!-- Data Placeholder Definition, DPD -->
                </div>
                <div class="definition">
                    <div class="mb20">
                        <div class="fontsize-16 mb20" id="Basic">Basic</div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.boolean( min?, max?, current? )">
                                <code>Random.boolean( min?, max?, current? )</code>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.boolean()
Random.boolean()
Mock.mock('@boolean')
Mock.mock('@boolean()')

// Random.boolean( min, max, current )
Random.boolean(1, 9, true)
Mock.mock('@boolean(1, 9, true)')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.boolean()
false
true
false

// Random.boolean( min, max, current )
false
false</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.natural( min?, max? )">
                                <code>Random.natural( min?, max? )</code>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.natural()
Random.natural()
Mock.mock('@natural')
Mock.mock('@natural()')

// Random.natural( min )
Random.natural(10000)
Mock.mock('@natural(10000)')

// Random.natural( min, max )
Random.natural(60, 100)
Mock.mock('@natural(60, 100)')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.natural()
3664270036932368
6175920291920030
5092654757432984

// Random.natural( min )
4585896290237073
138322714394142

// Random.natural( min, max )
88
86</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.integer( min?, max? )">
                                <code>Random.integer( min?, max? )</code>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.integer()
Random.integer()
Mock.mock('@integer')
Mock.mock('@integer()')

// Random.integer( min )
Random.integer(10000)
Mock.mock('@integer(10000)')

// Random.integer( min, max )
Random.integer(60, 100)
Mock.mock('@integer(60, 100)')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.integer()
-5443608719886012
-587480917934732
4888071144868360

// Random.integer( min )
2684624063390468
6226630153398287

// Random.integer( min, max )
64
67</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.float( min?, max?, dmin?, dmax? )">
                                <code>Random.float( min?, max?, dmin?, dmax? )</code>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.float()
Random.float()
Mock.mock('@float')
Mock.mock('@float()')

// Random.float( min )
Random.float(0)
Mock.mock('@float(0)')

// Random.float( min, max )
Random.float(60, 100)
Mock.mock('@float(60, 100)')

// Random.float( min, max, dmin )
Random.float(60, 100, 3)
Mock.mock('@float(60, 100, 3)')

// Random.float( min, max, dmin, dmax )
Random.float(60, 100, 3, 5)
Mock.mock('@float(60, 100, 3, 5)')
</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.float()
5711670644700452
8355004376808961
-1402308018939788

// Random.float( min )
4199365747813024.5
1078264149635098.6

// Random.float( min, max )
83.32
68.074244132

// Random.float( min, max, dmin )
76.4149993
94.3468566754

// Random.float( min, max, dmin, dmax )
98.5172
100.21157
</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.character( pool? )">
                                <code>Random.character( pool? )</code>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.character()
Random.character()
Mock.mock('@character')
Mock.mock('@character()')

// Random.character( 'lower/upper/number/symbol' )
Random.character('lower')
Random.character('upper')
Random.character('number')
Random.character('symbol')

Mock.mock('@character("lower")')
Mock.mock('@character("upper")')
Mock.mock('@character("number")')
Mock.mock('@character("symbol")')

// Random.character( pool )
Random.character('aeiou')
Mock.mock('@character("aeiou")')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.character()
"["
"2"
"B"

// Random.character( 'lower/upper/number/symbol' )
"x"
"E"
"4"
"#"

"b"
"P"
"1"
"("

// Random.character( pool )
"o"
"u"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.string( pool?, min?, max? )">
                                <code>Random.string( pool?, min?, max? )</code>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.string()
Random.string()
Mock.mock('@string')
Mock.mock('@string()')

// Random.string( length )
Random.string(5)
Mock.mock('@string(5)')

// Random.string( pool, length )
Random.string('lower', 5)
Random.string('upper', 5)
Random.string('number', 5)
Random.string('symbol', 5)
Random.string('aeiou', 5)

Mock.mock('@string("lower", 5)')
Mock.mock('@string("upper", 5)')
Mock.mock('@string("number", 5)')
Mock.mock('@string("symbol", 5)')
Mock.mock('@string("aeiou", 5)')

// Random.string( min, max )
Random.string(7, 10)
Mock.mock('@string(7, 10)')

// Random.string( pool, min, max )
Random.string('lower', 1, 3)
Random.string('upper', 1, 3)
Random.string('number', 1, 3)
Random.string('symbol', 1, 3)
Random.string('aeiou', 1, 3)

Mock.mock('@string("lower", 1, 3)')
Mock.mock('@string("upper", 1, 3)')
Mock.mock('@string("number", 1, 3)')
Mock.mock('@string("symbol", 1, 3)')
Mock.mock('@string("aeiou", 1, 3)')
</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.string()
"Qu]N"
"g1uY#ec"
"@bmI4H#"

// Random.string( length )
"!NDvF"
"mhPBP"

// Random.string( pool, length )
"jvldi"
"KOJKQ"
"31428"
")@^@#"
"eouoi"

"jqnsq"
"HIGUU"
"42984"
"(@!]!"
"uouou"

// Random.string( min, max )
"KGDSPHPw"
"UHZCoioOr"

// Random.string( pool, min, max )
"cio"
"U"
"795"
"%("
"i"

"jn"
"JIY"
"43"
"@%"
"ee"
</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.range(start?, stop, step?)">
                                <code>Random.range(start?, stop, step?)</code>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.range( stop )
Random.range(10)
Mock.mock('@range(10)')

// Random.range( start, stop )
Random.range(3, 7)
Mock.mock('@range(3, 7)')

// Random.range( start, stop, step )
Random.range(1, 10, 2)
Random.range(1, 10, 3)

Mock.mock('@range(1, 10, 2)')
Mock.mock('@range(1, 10, 3)')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.range( stop )
[0,1,2,3,4,5,6,7,8,9]
[0,1,2,3,4,5,6,7,8,9]

// Random.range( start, stop )
[3,4,5,6]
[3,4,5,6]

// Random.range( start, stop, step )
[1,3,5,7,9]
[1,4,7]

[1,3,5,7,9]
[1,4,7]</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="mb20">
                        <div class="fontsize-16 mb20" id="Date">Date</div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.date( format? )">
                                <code>Random.date( format? )</code>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.date()
Random.date()
Mock.mock('@date')
Mock.mock('@date()')

// Random.date( format )
Random.date('yyyy-MM-dd')
Random.date('yy-MM-dd')
Random.date('y-MM-dd')
Random.date('y-M-d')

Mock.mock('@date("yyyy-MM-dd")')
Mock.mock('@date("yy-MM-dd")')
Mock.mock('@date("y-MM-dd")')
Mock.mock('@date("y-M-d")')

Mock.mock('@date("yyyy yy y MM M dd d")')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.date()
"1997-08-25"
"2003-12-08"
"2018-01-12"

// Random.date( format )
"2002-03-25"
"03-10-12"
"99-08-20"
"78-4-28"

"2019-04-21"
"16-12-30"
"00-06-11"
"78-2-12"

"2012 12 12 09 9 19 19"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.time( format? )">
                                <code>Random.time( format? )</code>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.time()
Random.time()
Mock.mock('@time')
Mock.mock('@time()')

// Random.time( format )
Random.time('A HH:mm:ss')
Random.time('a HH:mm:ss')
Random.time('HH:mm:ss')
Random.time('H:m:s')

Mock.mock('@time("A HH:mm:ss")')
Mock.mock('@time("a HH:mm:ss")')
Mock.mock('@time("HH:mm:ss")')
Mock.mock('@time("H:m:s")')

Mock.mock('@datetime("HH H hh h mm m ss s SS S A a T")')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.time()
"02:16:39"
"21:23:20"
"10:02:25"

// Random.time( format )
"AM 00:24:56"
"pm 14:29:40"
"05:10:27"
"18:42:4"

"AM 11:44:06"
"pm 18:04:29"
"14:31:46"
"21:38:41"

"01 1 01 1 50 50 38 38 688 688 AM am 1491155438688"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.datetime( format? )">
                                <code>Random.datetime( format? )</code>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.datetime()
Random.datetime()
Mock.mock('@datetime')
Mock.mock('@datetime()')

// Random.datetime( format )
Random.datetime('yyyy-MM-dd A HH:mm:ss')
Random.datetime('yy-MM-dd a HH:mm:ss')
Random.datetime('y-MM-dd HH:mm:ss')
Random.datetime('y-M-d H:m:s')

Mock.mock('@datetime("yyyy-MM-dd A HH:mm:ss")')
Mock.mock('@datetime("yy-MM-dd a HH:mm:ss")')
Mock.mock('@datetime("y-MM-dd HH:mm:ss")')
Mock.mock('@datetime("y-M-d H:m:s")')

Mock.mock('@datetime("yyyy yy y MM M dd d HH H hh h mm m ss s SS S A a T")')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.datetime()
"2020-03-11 12:05:30"
"2019-02-04 08:14:34"
"1975-02-28 15:33:40"

// Random.datetime( format )
"1976-11-05 PM 23:17:54"
"98-07-10 am 11:26:30"
"72-07-17 23:17:08"
"77-3-20 12:35:27"

"1999-05-20 AM 03:48:47"
"04-05-15 am 05:47:47"
"15-01-27 14:18:17"
"91-11-30 21:7:26"

"1977 77 77 08 8 06 6 05 5 05 5 49 49 19 19 347 347 AM am 239665759347"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.now( unit?, format? )">
                                <code>Random.now( unit?, format? )</code>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Ranndom.now()
Random.now()
Mock.mock('@now')
Mock.mock('@now()')

// Ranndom.now( unit )
Random.now('year')
Random.now('month')
Random.now('week')
Random.now('day')
Random.now('hour')
Random.now('minute')
Random.now('second')

// Ranndom.now( format )
Random.now('yyyy-MM-dd HH:mm:ss SS')

// Ranndom.now( unit, format )
Random.now('day', 'yyyy-MM-dd HH:mm:ss SS')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Ranndom.now()
"2022-06-06 17:42:10"
"2022-06-06 17:42:10"
"2022-06-06 17:42:10"

// Ranndom.now( unit )
"2022-01-01 00:00:00"
"2022-06-01 00:00:00"
"2022-06-05 00:00:00"
"2022-06-06 00:00:00"
"2022-06-06 17:00:00"
"2022-06-06 17:42:00"
"2022-06-06 17:42:10"

// Ranndom.now( format )
"2022-06-06 17:42:10 181"

// Ranndom.now( unit, format )
"2022-06-06 00:00:00 000"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="mb20">
                        <div class="fontsize-16 mb20" id="Image">Image</div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20"
                                id="Random.image( size?, background?, foreground?, format?, text? )">
                                <code>Random.image( size?, background?, foreground?, format?, text? )</code>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.image()
Random.image()
// Random.image( size )
Random.image('200x100')
// Random.image( size, background )
Random.image('200x100', '#FF6600')
// Random.image( size, background, text )
Random.image('200x100', '#4A7BF7', 'Hello')
// Random.image( size, background, foreground, text )
Random.image('200x100', '#50B347', '#FFF', 'Mock.js')
// Random.image( size, background, foreground, format, text )
Random.image('200x100', '#894FC4', '#FFF', 'png', '!')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div> <img class="mb10 mr10" src="./Mock.js_files/468x60"><img class="mb10 mr10"
                                                src="./Mock.js_files/200x100"><img class="mb10 mr10"
                                                src="./Mock.js_files/FF6600"><img class="mb10 mr10"
                                                src="./Mock.js_files/4A7BF7&amp;text=Hello"><img class="mb10 mr10"
                                                src="./Mock.js_files/FFF&amp;text=Mock.js"><img class="mb10 mr10"
                                                src="./Mock.js_files/FFF.png&amp;text=!"> </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.dataImage( size?, text? )">
                                <code>Random.dataImage( size?, text? )</code>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.dataImage()
Random.dataImage()

// Random.dataImage( size )
Random.dataImage('200x100')

// Random.dataImage( size, text )
Random.dataImage('200x100', 'Hello Mock.js!')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div> <img class="mb10 mr10"
                                                src=""><img
                                                class="mb10 mr10"
                                                src=""><img
                                                class="mb10 mr10"
                                                src="">
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="mb20">
                        <div class="fontsize-16 mb20" id="Color">Color</div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.color()"><code>Random.color()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.color()
Random.color()
Mock.mock('@color')
Mock.mock('@color()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.color()
"#f2b879"
"#9579f2"
"#80f279"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.hex()"><code>Random.hex()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.hex()
Random.hex()
Mock.mock('@hex')
Mock.mock('@hex()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.hex()
"#f279a3"
"#79c6f2"
"#eaf279"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.rgb()"><code>Random.rgb()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.rgb()
Random.rgb()
Mock.mock('@rgb')
Mock.mock('@rgb()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.rgb()
"rgb(214, 121, 242)"
"rgb(121, 242, 179)"
"rgb(242, 144, 121)"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.rgba()"><code>Random.rgba()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.rgba()
Random.rgba()
Mock.mock('@rgba')
Mock.mock('@rgba()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.rgba()
"rgba(121, 133, 242, 0.65)"
"rgba(168, 242, 121, 0.07)"
"rgba(242, 121, 204, 0.21)"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.hsl()"><code>Random.hsl()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.hsl()
Random.hsl()
Mock.mock('@hsl')
Mock.mock('@hsl()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.hsl()
"hsl(181, 82, 71)"
"hsl(43, 82, 71)"
"hsl(266, 82, 71)"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="mb20">
                        <div class="fontsize-16 mb20" id="Text">Text</div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.paragraph( min?, max? )">
                                <code>Random.paragraph( min?, max? )</code>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.paragraph()
Random.paragraph()

Mock.mock('@paragraph')

Mock.mock('@paragraph()')

// Random.paragraph( len )
Random.paragraph(2)

Mock.mock('@paragraph(2)')

// Random.paragraph( min, max )
Random.paragraph(1, 3)

Mock.mock('@paragraph(1, 3)')
</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.paragraph()
"Dead jzo dsoith pgfzqac hpffocgxrk lklagmjdu lbsie pyka mrjgishuh qzqoowmnq hyxer pwkhl engu qtmc ottxwtksq xpcz tmunqe. Njur qrxowto vumqmx dnmfk rdfdkbusx aqgsudtbbf rcic nqbgta drccvedk ikktpk psnbplrf vkfsbjfpr hqlchenyv gjvdmd vyyfmwofk. Vlhrbbpy yimqm eudsi ecueyt vritwrnkd jyjhmu vklqgqw yyns pqw kjsunn sulg psxfppz lykaye pcbb pgsekjox. Fogjnvet hmwaavcv yriqwf rwe wcxuobpw cqjyazfxr llgxlchmy pluslug lxv eerunftgjr lsycsjiq ftmcqyig kfeuyca digrlxih. Sfvtnn uywvgkuf vhfqwpczd bujilb jbxl lgcloqs ulltn myvdmd mwgvpyf kvtvjycys bviqlhp owituukmy rfbilosod uhbhf. Vuksgsy yfjphy ggvlkiqzk iydiiwmyj wdusiodem oeuoub iyizyjuo ourc ytuxocycy iwqknpgb slor nijljdc tngsqqe uukbx qkruo."

"Icgjirdqm scuwbti pjxs xkswv esonhcsc xljjj cyzkth rxlgn nptzrv gaigivwwr fmgbwtpxkx moyj panscq veuqnt qpopyp ettesgksx. Wutdpnw ffrzx rqul yhup liiyn twtj wfu zyyitjve qkovhxpt budegc jptwl icdocj xxxtl tuqm. Nxe fieyxq rmroolw xhiw xlk fglb vpvxkfpb qmhgqgc gfrtoh fyng cgjboj nppxbiv. Ahzfdve oxevnitxjb ltv ougrlc dphxyvm loqfctpw ifwz vrrmsbsje xdfx sywe zrqpp tgbsrhsjj pmhymqvbb knvcvly grxcbndv. Nauw bhjunwssn htdi cxhyce gdpvdsvio swtuwyler dwwhcock ynnq hgmqagsol ffgbm qdydn gxjmjeisp vgvb hqotnp ydowgpbd. Kjwkd zme lsitww lqmcu naksrkwb meakgwbh ppusbvv sxhwgbhqi gehl zggoxhr nama bbtuhlis eliiqqpvy mnhp uiatb yps. Mtbqidi bvsvgtaq spdunzyq osws kcyrabulc asqsu pqjr dkysg gdkig uhwwuf vvktmp tgt pfgps aowxo."

"Hrjgwriz psvdpdlyw oeceqvl vprqubrx awnqlayo drtrfdqm rdvcccyzeg sayq chil zddrytbg tfenu ugvw knwgcgvyg cjvet saimu. Gcnnnju avwokkxio mqacnhzdl jwoleffml vdtfmf okokhg byuayhwhi fvseoqo wewopg poedqum bitgco worql. Yruexng nmhqmfq ohr nxslpy owmccfljj qlnqpxws yijtg dbxm nkixfwvdl owcfxxjhp ujzpd ihqh jsvl qqqugrpyet nydtjgmul omyh rshxecr. Yzii xymqte rdruu owfzcmca pvcl klwkcpbq dvqn kvhnrsykg mauxpilhj xtpyj orqbgu rxuwzjvwz vxyg. Mebs wipnojzbke dvqrx eefeowjniu ysnpja suua yhlblbyvs htnybjndo spucbonid mzcjwguu zopnw ykjmee jkjnnyptdg tifvkobt bwbsr ifiexhd."

// Random.paragraph( len )
"Nradh wpyp eozyrenvb skzlq rlrumyqzrv sqpun eucdv blymv nejfqrxfvr kpuej bhdzqz porwmwuagh ygkiarly mbgji. Kgjyj rxykc ohrdf lvxkx wvfoodrtr xizxtwnrlp bwbpc ovovqqw ndbmps ertjbwyk nil vtievjq vxe oevbz."

"Friblu phnmyesm brjws rwibjhm gywl xzgt vtapyor nydydr mswv ummrmlhvc ooby romuxr uxwwo lblwfvxchq iqulv jkty ncmivfwu. Mllmvyzi hnptcwdk qcqn gft uhdcw ruuf iqmippvtin nizjlwg unnktgtr gryt hcqsbrv ugeeaotx dmgnal kowqvom fiqw kftyzpsxg amoowsbtk."

// Random.paragraph( min, max )
"Soxyly uvlmzp kdahfbxp zrodjer lxdm duysgk ksomvf xkqsinvoe tkrb xriixile mgczpnkk srmdvuovp bxjef."

"Ujke xlrgktf vnlfxc qlv lfg udvk rypfmsf hxb nwzqr rmymrodplp kpzylz jodfwssd lflwx nybnhpay omuoljzlgb mmspe dqnxwynx. Ajxjtt aqytgdj mmusb givplb igxoirje gqdyncs qrcesv oldur yculvu cfnc dwol ypui jrn vqttd ddylxyofn ufwuzbuym lkivih."
</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.sentence( min?, max? )">
                                <code>Random.sentence( min?, max? )</code>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.sentence()
Random.sentence()
Mock.mock('@sentence')
Mock.mock('@sentence()')

// Random.sentence( len )
Random.sentence(5)
Mock.mock('@sentence(5)')

// Random.sentence( min, max )
Random.sentence(3, 5)
Mock.mock('@sentence(3, 5)')
</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.sentence()
"Ocuqim averxqhts oxbxiuvkt fsaszsq whglr imbhwuy jhhnvrnm aufpyyikvg ovknpcdtoc poarblg psw hqckhp efumaqf oonuqkqmi."
"Vxsykdbqb lkux ipfnvkdtd sqhfohi lft tirkbkde jltomupk mqjdlckn jeykmql ycwklzzg gblwuubgt cbwmzjyph bvwpouxx."
"Ykvts cjmdd nhudyvq pfyr xvlxlodxk xsro oeueejul vcrjxvnq vmqtrfdtkz mcd dhobegi gjk nkrflucmbk qeekpkf wmdel zhblu igxrorofjo."

// Random.sentence( len )
"Ezxn kptrpvie uwrvq ptdxnykwqp hkdjq."
"Prudiitnp qxrmtwf ywemyiqf grqlxkk mgmhgi."

// Random.sentence( min, max )
"Fqwgbnx vyjhkwgpj tjqjhpc."
"Mtdayug zjkmms kxoaq isulx."
</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.word( min?, max? )">
                                <code>Random.word( min?, max? )</code>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.word()
Random.word()
Mock.mock('@word')
Mock.mock('@word()')

// Random.word( len )
Random.word(5)
Mock.mock('@word(5)')

// Random.word( min, max )
Random.word(3, 5)
Mock.mock('@word(3, 5)')
</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.word()
"htil"
"spxrigktxu"
"wshok"

// Random.word( len )
"kopiv"
"kvbaa"

// Random.word( min, max )
"raiv"
"jrkke"
</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.title( min?, max? )">
                                <code>Random.title( min?, max? )</code>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.title()
Random.title()
Mock.mock('@title')
Mock.mock('@title()')

// Random.title( len )
Random.title(5)
Mock.mock('@title(5)')

// Random.title( min, max )
Random.title(3, 5)
Mock.mock('@title(3, 5)')
</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.title()
"Iiltozaie Waq Xdvvs Abrnqryyhv"
"Xxodoj Ffbojpxet Jfbi Pwwhvqjom Omme Jwlijcy"
"Dygu Lhnjdnc Uhzfoxlnq Eqxfj"

// Random.title( len )
"Xspn Cuuttv Fbdwd Imis Fzqlt"
"Rsdsfm Kyhk Qgfo Sbnbes Yjqoehvot"

// Random.title( min, max )
"Afbrnk Kdrcdcit Mfr Rkr"
"Yvxg Ejtj Cfxycw Icitx"
</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.cparagraph( min?, max? )">
                                <code>Random.cparagraph( min?, max? )</code>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.cparagraph()
Random.cparagraph()

Mock.mock('@cparagraph')

Mock.mock('@cparagraph()')

// Random.cparagraph( len )
Random.cparagraph(2)

Mock.mock('@cparagraph(2)')

// Random.cparagraph( min, max )
Random.cparagraph(1, 3)

Mock.mock('@cparagraph(1, 3)')
</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.cparagraph()
"先和直广议儿点半严党局马。交志确件前论克住到最能个题公发地战。查照收事联二部统度料务术调红资务。法更派切但容格决活力克变白。"

"分派只利制比三关个照局始计。交体眼改步段产些造易场油片需难导。设电市置有美名发精查或音。好效又的他持小做向育后如离织计本圆。与斗业却形今从么角联况边回正律省。为外名率验家般使积重真高治并。"

"看总装治包问织包带院件月形性段江两。写程只状准部家由场造路结少信心精各管。步之回维证问对级气没究间革资。细百年列每机声元温住总参通。张向马深持把土五三声商备车地。业地也造快东子意青四指整多有清叫。"

// Random.cparagraph( len )
"却能口小状入元众事日设音现内亲七次。了型解安活知住六期北使素图备和到。"

"有满它造没性东等例群代单完加国。特义毛话转期标米完去步放个。"

// Random.cparagraph( min, max )
"论于土运石集节满选务权厂节数京。"

"认断却求利响天无美它情号火变门子。"
</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.csentence( min?, max? )">
                                <code>Random.csentence( min?, max? )</code>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.csentence()
Random.csentence()
Mock.mock('@csentence')
Mock.mock('@csentence()')

// Random.csentence( len )
Random.csentence(5)
Mock.mock('@csentence(5)')

// Random.csentence( min, max )
Random.csentence(3, 5)
Mock.mock('@csentence(3, 5)')
</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.csentence()
"象任火六军技史划地府计共专张变你。"
"无层他照所快上日积现前低识变于易。"
"结里题国单府采九结便以根主强没。"

// Random.csentence( len )
"火道写人路。"
"期华离子能。"

// Random.csentence( min, max )
"但回明那。"
"面置命总。"
</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.cword( pool?, min?, max? )">
                                <code>Random.cword( pool?, min?, max? )</code>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.cword()
Random.cword()
Mock.mock('@cword')
Mock.mock('@cword()')

// Random.cword( pool )
Random.cword('零一二三四五六七八九十')
Mock.mock('@cword("零一二三四五六七八九十")')

// Random.cword( length )
Random.cword(3)
Mock.mock('@cword(3)')

// Random.cword( pool, length )
Random.cword('零一二三四五六七八九十', 3)
Mock.mock('@cword("零一二三四五六七八九十", 3)')

// Random.cword( min, max )
Random.cword(3, 5)
Mock.mock('@cword(3, 5)')

// Random.cword( pool, min, max )
Random.cword('零一二三四五六七八九十', 5, 7)
Mock.mock('@cword("零一二三四五六七八九十", 5, 7)')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.cword()
"手"
"引"
"经"

// Random.cword( pool )
"二"
"六"

// Random.cword( length )
"志型展"
"不况易"

// Random.cword( pool, length )
"九九六"
"三二三"

// Random.cword( min, max )
"而位展小别"
"由始及"

// Random.cword( pool, min, max )
"九九零三零"
"四四五二零六"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.ctitle( min?, max? )">
                                <code>Random.ctitle( min?, max? )</code>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.ctitle()
Random.ctitle()
Mock.mock('@ctitle')
Mock.mock('@ctitle()')

// Random.ctitle( len )
Random.ctitle(5)
Mock.mock('@ctitle(5)')

// Random.ctitle( min, max )
Random.ctitle(3, 5)
Mock.mock('@ctitle(3, 5)')
</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.ctitle()
"六议思飞与花"
"前次上用引"
"争称形子教而当"

// Random.ctitle( len )
"头号即养思"
"件局半就听"

// Random.ctitle( min, max )
"石及劳经"
"很状格"
</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="mb20">
                        <div class="fontsize-16 mb20" id="Name">Name</div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.first()"><code>Random.first()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.first()
Random.first()
Mock.mock('@first')
Mock.mock('@first()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.first()
"Betty"
"Scott"
"Donald"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.last()"><code>Random.last()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.last()
Random.last()
Mock.mock('@last')
Mock.mock('@last()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.last()
"Anderson"
"Martin"
"Clark"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.name( middle? )">
                                <code>Random.name( middle? )</code>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.name()
Random.name()
Mock.mock('@name')
Mock.mock('@name()')

// Random.name( middle )
Random.name(true)
Mock.mock('@name(true)')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.name()
"Joseph Wilson"
"Michael Davis"
"Edward Thomas"

// Random.name( middle )
"Scott Susan Lewis"
"Betty Maria Moore"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.cfirst()"><code>Random.cfirst()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.cfirst()
Random.cfirst()
Mock.mock('@cfirst')
Mock.mock('@cfirst()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.cfirst()
"李"
"戴"
"潘"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.clast()"><code>Random.clast()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.clast()
Random.clast()
Mock.mock('@clast')
Mock.mock('@clast()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.clast()
"勇"
"平"
"芳"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.cname()"><code>Random.cname()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.cname()
Random.cname()
Mock.mock('@cname')
Mock.mock('@cname()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.cname()
"马强"
"朱洋"
"冯平"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="mb20">
                        <div class="fontsize-16 mb20" id="Web">Web</div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.url()"><code>Random.url()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.url()
Random.url()
Mock.mock('@url')
Mock.mock('@url()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.url()
"rlogin://nrgfxo.il/gpxkdv"
"mid://higysflkk.ne/uhrtqnmur"
"http://gwmknra.net/hvuoawsp"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.domain()"><code>Random.domain()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.domain()
Random.domain()
Mock.mock('@domain')
Mock.mock('@domain()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.domain()
"gxblqclk.mv"
"alumfcbhc.pl"
"nqhsfi.mobi"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.protocol()"><code>Random.protocol()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.protocol()
Random.protocol()
Mock.mock('@protocol')
Mock.mock('@protocol()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.protocol()
"ftp"
"cid"
"nntp"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.tld()"><code>Random.tld()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.tld()
Random.tld()
Mock.mock('@tld')
Mock.mock('@tld()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.tld()
"gr"
"mc"
"au"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.email()"><code>Random.email()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.email()
Random.email()
Mock.mock('@email')
Mock.mock('@email()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.email()
"w.cudxxk@tnqtjgiyl.tv"
"p.fuhttp@snmg.nf"
"i.gkirvmgk@tlqnijo.ph"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.ip()"><code>Random.ip()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.ip()
Random.ip()
Mock.mock('@ip')
Mock.mock('@ip()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.ip()
"100.33.88.175"
"46.220.56.198"
"104.8.54.32"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="mb20">
                        <div class="fontsize-16 mb20" id="Address">Address</div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.region()"><code>Random.region()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.region()
Random.region()
Mock.mock('@region')
Mock.mock('@region()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.region()
"西南"
"华东"
"华中"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.province()"><code>Random.province()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.province()
Random.province()
Mock.mock('@province')
Mock.mock('@province()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.province()
"澳门特别行政区"
"陕西省"
"江西省"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.city( prefix? )">
                                <code>Random.city( prefix? )</code>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.city()
Random.city()
Mock.mock('@city')
Mock.mock('@city()')
// Random.city( prefix )
Random.city(true)
Mock.mock('@city(true)')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.city()
"荆门市"
"澳门半岛"
"达州市"
// Random.city( prefix )
"香港特别行政区 香港岛"
"山东省 日照市"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.county( prefix? )">
                                <code>Random.county( prefix? )</code>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.county()
Random.county()
Mock.mock('@county')
Mock.mock('@county()')
// Random.county( prefix )
Random.county(true)
Mock.mock('@county(true)')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.county()
"-"
"义马市"
"浠水县"
// Random.county( prefix )
"浙江省 嘉兴市 平湖市"
"江苏省 盐城市 盐都区"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.zip()"><code>Random.zip()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.zip()
Random.zip()
Mock.mock('@zip')
Mock.mock('@zip()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.zip()
"445222"
"741301"
"734342"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="mb20">
                        <div class="fontsize-16 mb20" id="Helper">Helper</div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.capitalize( word )">
                                <code>Random.capitalize( word )</code>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.capitalize( word )
Random.capitalize('hello')
Mock.mock('@capitalize("hello")')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.capitalize( word )
"Hello"
"Hello"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.upper( str )"><code>Random.upper( str )</code>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.upper( str )
Random.upper('hello')
Mock.mock('@upper("hello")')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.upper( str )
"HELLO"
"HELLO"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.lower( str )"><code>Random.lower( str )</code>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.lower( str )
Random.lower('HELLO')
Mock.mock('@lower("HELLO")')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.lower( str )
"hello"
"hello"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.pick( arr )"><code>Random.pick( arr )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.pick( arr )
Random.pick(['a', 'e', 'i', 'o', 'u'])
Mock.mock('@pick(["a", "e", "i", "o", "u"])')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.pick( arr )
"o"
"e"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.shuffle( arr )"><code>Random.shuffle( arr )</code>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.shuffle( arr )
Random.shuffle(['a', 'e', 'i', 'o', 'u'])
Mock.mock('@shuffle(["a", "e", "i", "o", "u"])')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.shuffle( arr )
["a","u","i","e","o"]
["e","i","a","o","u"]</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="mb20">
                        <div class="fontsize-16 mb20" id="Miscellaneous">Miscellaneous</div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.guid()"><code>Random.guid()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.guid()
Random.guid()
Mock.mock('@guid')
Mock.mock('@guid()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.guid()
"F20A1AB6-8a40-A2c6-B21C-a78AFe6c0f5C"
"CcBC28fe-1cAF-fbC6-1A97-68D85F4550Ec"
"fD2941A3-f55f-52fe-5Edb-5ca97CcFeC0B"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.id()"><code>Random.id()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.id()
Random.id()
Mock.mock('@id')
Mock.mock('@id()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.id()
"340000201702224076"
"120000197903313358"
"500000199711259000"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.increment( step? )">
                                <code>Random.increment( step? )</code>
                            </div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.increment()
Random.increment()
Mock.mock('@increment')
Mock.mock('@increment()')

// Random.increment( step )
Random.increment(100)
Mock.mock('@increment(100)')
Random.increment(1000)
Mock.mock('@increment(1000)')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.increment()
1
2
3

// Random.increment( step )
103
203
1203
2203</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>

                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script src="./Mock.js_files/config.js"></script>
    <script>
        // require(['./assets/js/test.dtd'])
        // require(['./assets/js/test.dpd'])
        require(['./assets/js/examples'])
    </script>
    <link rel="stylesheet" href="./Mock.js_files/github.css"><!-- github -->

    <!-- <script src="./bower_components/highlightjs/highlight.pack.js"></script> -->
    <!-- <script src="../dist/mock.js"></script> -->

    <!-- <script src="./site.test.template.js"></script> -->
    <!-- <script src="./site.test.dtd.js"></script> -->
    <!-- <script src="./site.test.dpd.js"></script> -->
    <!-- <script>hljs.initHighlightingOnLoad();</script> -->

    <div style="position: fixed; z-index: 10000; right: -99999px; border: 1px solid;"><canvas width="100"
            height="100"></canvas></div>
    <div style="position: fixed; z-index: 10000; right: -99999px; border: 1px solid;"><canvas width="100"
            height="100"></canvas></div>
</body>

</html>